<template>
 <div class="title">{{title}}</div>
</template>

<script>
export default {
  props: ['title'],
  data () {
    return {

    }
  }
}
</script>

<style scoped lang="scss">
.title {
  position: relative;
  width: 100%;
  height: .8rem;
  display: flex;
  align-items: center;
  padding-left: .4rem;
  font-size: .34rem;
  color: #333;
  box-sizing: border-box;
  &::before {
    content: "";
    position: absolute;
    height: .3rem;
    width: .06rem;
    background-color: #e8331c;
    left: 0.2rem;
    top: .25rem;
  }
}
</style>
